package com.walterlife.sort;

public class App {
    public static void main( String[] args ) {
        testQuickSort();
    }

    public static void testQuickSort() {
        int[] arr = {1, 3, 2, 8, 4, 5, 7, 6};

        System.out.println("before sort");
        for(int num: arr) {
            System.out.println("--" + num);
        } 

        QuickSort.sort(arr, 0, arr.length-1);

        System.out.println("after sort");
        for(int num: arr) {
            System.out.println("--" + num);
        } 
    } 
}
